package com.utils.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author whf
 * @date 2023年05月10日 18:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerPage {

    private Integer position;

    @Min(value = 1,message = "员工ID不能为 0")
    @NotNull(message = "请传入员工的ID")
    private Long userID;

    @Min(value = 1,message = "页码不能为0")
    private Integer pageNum;

    @Min(value = 1,message = "内容不能为0")
    private Integer pageSize;


}
